const api = require('./index.js');

// 注册用户
export const ajaxRegisterUser = (params) => api.post('/user/k1UserRegister', params)

export const ajaxQuickRegister = (params) => api.post('/user/quickRegister', params)
// 获取用户渠道来源
export const ajaxGetUserSourceList = (params) => api.post('/user/getUserSourceList', params)

// 登录接口
export const ajaxLogin = (params, app = null) => api.post('/user/k1UserLogin', params, {}, app)

// 发送短信验证码
export const ajaxSendMessage = (params) => api.post('/sms/sendMessage', params)

// 查询手机号下的用户
export const ajaxGetTelUsers = (params) => api.post('/user/getUsersByTel', params)
